#include "stm32f4xx.h"
#include "led.h"
#include "delay.h"
#include "key.h"
#include "exti.h"
#include "usart.h"

int main()
{
    led_init();
    key_init();
    EXTI_config();
    usart_init();
    GPIO_SetBits(LED_GROUP, LED1_PIN | LED2_PIN | LED3_PIN | LED4_PIN);

    while (1)
    {
        // led_blink();
        // key_led();
        // key_input_password();
        // key_control();
        // key_change_speed();
        led_change_speed_water(led_speed_mode, led_water_mode, led_manual_light_num);
        // USART_SendData(USART1, 'A');
        // delay_ms(1000);
    }
}
